ListBase<T> Constructor(IEnumerable<T>)
Initializes a new instance of the
ListBase<T> class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
Parameters
- collection
- The collection whose elements are copied to the new list.